package lanqiaotrain.t2;


/**
 * @Author: Hasee
 * @Date: 2020-10-04 10:02:47
 */
public class Basic8 {
    public static void main(String[] args) {
        for(int i=1000;i<10000;i++){
            if (i%10==i/1000&&i/10%10==i/100%10){
                System.out.println(i);
            }
        }
    }
}
